#include "STC89C5xRC.h"

#define u16 unsigned int
#define u8  unsigned char
#define beep P23 	

void DelayMs(u16 ms);
u8 Sum(u8 i,u8 j);

u8 jiashu = 4,beijiashu = 5;
u8 he;

void main()                                                                                            
{
	he = Sum(jiashu,beijiashu);
	while(1);
}

void DelayMs(u16 ms)
{
	u16 a,b;
	for(a = ms;a > 0;a--)
		for(b = 114;b > 0;b--);
}

u8 Sum(u8 i,u8 j)
{
//	u8 bum;
//	bum = i + j;
	return i + j;
}
